package com.mfp.java.testYou.db.model;

import java.util.Date;

public class CompletedTest extends Entity {

	private static final long serialVersionUID = 450102464811500587L;

	private String userName;
	private double result;
	private Date date;
	private String title;


	public double getResult() {
		return result;
	}

	public void setResult(double d) {
		this.result = d;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public final String getUserName() {
		return userName;
	}

	public final void setUserName(String userName) {
		this.userName = userName;
	}

	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(userName);
		sb.append("  ");
		sb.append(title);
		sb.append("  ");
		sb.append(result);
		return sb.toString();
	}

}
